package com.liam.system.domain.sysuser;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.liam.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Author: LiamLMK
 * @CreateTime: 2025-03-20
 * @Description: 用户类
 * @Version: 1.0
 */

@TableName("tb_sys_user")
@Getter
@Setter
@ToString
public class SysUser extends BaseEntity {

    @TableId(value = "USER_ID", type = IdType.ASSIGN_ID)
    private Long userId; // 主键 不再使用auto_increment 使用雪花算法

    private String userAccount;

    private String password;

    private String nickName;
}
